﻿using System;
using System.Collections.Generic;
using System.Text;
using YSC_Core.BLL.Domain.CommonModels;

namespace YSC_Services.BLL.Services.Interfaces
{
    /// <summary>
    /// 移动端首页接口
    /// </summary>
    public interface IHomeAppServices
    {
        /// <summary>
        /// 首页活动展示
        /// </summary>
        /// <returns></returns>
        ReturnValueModel GetHomeActivityAll();

        /// <summary>
        /// 活动详情
        /// </summary>
        /// <param name="activityId"></param>
        /// <returns></returns>
        ReturnValueModel GetHomeActivity(string activityId);

        /// <summary>
        /// 首页文章列表
        /// </summary>
        /// <param name="intType">0:热门推荐 1:最新资讯</param>
        /// <returns></returns>
        ReturnValueModel GetHomeNewsArticleAll(int intType);

        /// <summary>
        /// 文章详情
        /// </summary>
        /// <param name="newsId"></param>
        /// <returns></returns>
        ReturnValueModel GetHomeNewsArticle(string newsId);

        /// <summary>
        /// 文章列表
        /// </summary>
        /// <param name="index"></param>
        /// <param name="size"></param>
        /// <param name="sasearch">模糊条件:作者 标题</param>
        /// <param name="intType">0:热门推荐 1:最新资讯</param>
        /// <returns></returns>
        ReturnValueModel GetNewsArticleAll(int index, int size, string sasearch, int intType);

        /// <summary>
        /// 首页_实时鱼价
        /// </summary>
        /// <returns></returns>
        ReturnValueModel GetHomeRealTimeAll(string areaName);

        /// <summary>
        /// 市场实时渔家列表
        /// </summary>
        /// <param name="areaName"></param>
        /// <returns></returns>
        ReturnValueModel GetMarketTimeAll(int index, int size, string areaName, string areaId, int priceType);

        /// <summary>
        /// 塘口实时渔家列表
        /// </summary>
        /// <param name="areaName"></param>
        /// <returns></returns>
        ReturnValueModel GetPlaceOfOriginTimeAll(int index, int size, string areaName, string areaId);


    }
}
